package com.xique.door.event;

import org.springframework.context.ApplicationEvent;

import java.util.List;
import java.util.Map;

/**
 * @author shd
 * @create 2021/7/3 10:13
 */
public class DelUserBatchCommandEvent extends ApplicationEvent {

    private static final long serialVersionUID = 5124881135028165230L;

    private Map<String, List<String>> deleteData;

    public DelUserBatchCommandEvent(Object source) {
        super(source);
    }

    public DelUserBatchCommandEvent(Map<String, List<String>> deleteData) {
        super(deleteData);
        this.deleteData = deleteData;
    }

    public Map<String, List<String>> getDeleteData() {
        return deleteData;
    }

    public void setDeleteData(Map<String, List<String>> deleteData) {
        this.deleteData = deleteData;
    }

    @Override
    public Object getSource() {
        return super.getSource();
    }
}
